package com.mst.mapper;

import com.mst.domain.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {
    int addBook(Book book);

    int updateBook(Book book);

    int deleteBook(int id);

    Book getBookById(int id);

    List<Book> getAllBook(Book book);
}
